package com.hmys.api.service.impl;

import com.hmys.api.mapper.WebCityTemperatureMapper;
import com.hmys.api.model.WebCityTemperature;
import com.hmys.api.service.WebCityTemperatureService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * Created by chen365 on 2018/03/26.
 */
@Service
public class WebCityTemperatureServiceImpl implements WebCityTemperatureService {
    @Autowired
    private WebCityTemperatureMapper webCityTemperatureMapper;

    @Override
    public List<WebCityTemperature> selectByCityId(Long cityId) {
        return webCityTemperatureMapper.selectByCityId(cityId);
    }
}
